package com.httpdemo.http_teaching_server.repository;


import com.httpdemo.http_teaching_server.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {
    boolean existsByUsername(String username);
    User findByUsername(String username);
}